﻿<%@ Page Language="C#" MasterPageFile="~/shop.Master" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="WebApplication6.login" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


<form id="form1" runat="server" >
<table width="100%" border="1">


<tr>
<td align="center" colspan="2"><span style="color:Red;font-size:20px;font-weight:bold;">
    用户登录</span></td>
</tr>


<tr>
<td align="right">用户名：</td>
<td align="center">
    <asp:TextBox runat="server" id="txtusername" size="30"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"  ControlToValidate="txtusername" ErrorMessage="不能为空"  Display="Dynamic"></asp:RequiredFieldValidator>    
</td>
</tr>

<tr>
<td align="right">密码：</td>
<td align="center">
    <asp:TextBox runat="server" id="password" size="30" TextMode="Password"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"  ControlToValidate="password" ErrorMessage="不能为空"  Display="Dynamic"></asp:RequiredFieldValidator>    
</td>
</tr>


<tr>
<td align="right">操作：</td>
<td align="center">
    
 <asp:Button ID="Button1" runat="server" Text="提交" style="width: 60px" 
                         onclick="Button1_Click" />
			
		<input  onclick="javascript:history.go(-1);" style="width: 60px" type="button" value="返回" />
</td>
</tr>



</table>
</form>
</asp:Content>
